package com.nativetalk.dao;


import com.nativetalk.dto.weike.WeikeSubscription;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository
public interface WeikeSubscriptionDao {
    int insert(@Param("pojo") WeikeSubscription pojo);

    int insertSelective(@Param("pojo") WeikeSubscription pojo);

    int insertList(@Param("pojos") List<WeikeSubscription> pojo);

    int update(@Param("pojo") WeikeSubscription pojo);

    WeikeSubscription findValidSubscribedByMembId(@Param("memb_id") Integer memb_id);
}
